# include<stdio.h>
int main()
{
    int a[10];
    int i=0;
    while(scanf("%d",&a[i]))
    {
        printf("%d==0x%x\n",a[i],a[i]);
    }
    return 0;
}
